<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
<table>
<tr>${sessionScope.movieName}</tr>
<tr>
<th>用户名</th>
<th>内容</th>
<th>评分</th>
<th>时间</th>
</tr>
<tbody>
<c:forEach items="${requestScope.comments}" var="c">
<tr>
<td>${c.userName}</td>
<td>${c.content }</td>
<td>${c.movieScore }</td>
<td>${c.commentTime }</td>
</tr>

</c:forEach>
</tbody>
</table>
</body>
</html>